package com.ws.util;

import com.ws.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;

import javax.jws.WebService;

@WebService(targetNamespace = "http://service.jws/",
        endpointInterface = "com.ws.util.MyWebService")
public class MyWebServiceImpl implements MyWebService {

    @Autowired
    private TestService testService;

    @Override
    public String helloUser(String user) {
        return testService.sayHello(user);
    }
}




